package com.rlyy.common.enums;

public enum STATUSKey_Enum {
    OK("1", "Ok"),
    ERROR("0", "Error");

    private String value;
    private String desc;

    private STATUSKey_Enum(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getValue() {
        return this.value;
    }

    public String getDesc() {
        return this.desc;
    }

    public static STATUSKey_Enum getByValue(String value) {
        STATUSKey_Enum[] var1 = values();
        int var2 = var1.length;

        for(int var3 = 0; var3 < var2; ++var3) {
            STATUSKey_Enum status = var1[var3];
            if (status.value.equals(value)) {
                return status;
            }
        }

        return null;
    }
}
